.class Lcom/xingbook/park/f/h;
.super Lcom/xingbook/park/e/d;


# instance fields
.field private a:Lcom/xingbook/park/b/f;

.field private b:Lcom/xingbook/b/n;

.field private final synthetic c:Lcom/xingbook/park/b/d;

.field private final synthetic d:Lcom/xingbook/park/e/c;

.field private final synthetic e:Ljava/lang/String;

.field private final synthetic f:Ljava/util/ArrayList;

.field private final synthetic g:Z


# direct methods
.method constructor <init>(Lcom/xingbook/park/e/c;Lcom/xingbook/park/b/d;Lcom/xingbook/park/e/c;Ljava/lang/String;Ljava/util/ArrayList;Z)V
    .locals 1

    const/4 v0, 0x0

    iput-object p2, p0, Lcom/xingbook/park/f/h;->c:Lcom/xingbook/park/b/d;

    iput-object p3, p0, Lcom/xingbook/park/f/h;->d:Lcom/xingbook/park/e/c;

    iput-object p4, p0, Lcom/xingbook/park/f/h;->e:Ljava/lang/String;

    iput-object p5, p0, Lcom/xingbook/park/f/h;->f:Ljava/util/ArrayList;

    iput-boolean p6, p0, Lcom/xingbook/park/f/h;->g:Z

    invoke-direct {p0, p1}, Lcom/xingbook/park/e/d;-><init>(Lcom/xingbook/park/e/c;)V

    iput-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    iput-object v0, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    return-void
.end method


# virtual methods
.method public characters([CII)V
    .locals 0

    invoke-super {p0, p1, p2, p3}, Lcom/xingbook/park/e/d;->characters([CII)V

    return-void
.end method

.method public endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    const/4 v3, 0x0

    const-string v0, "message"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/h;->d:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/park/f/h;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/String;)V

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2, p3}, Lcom/xingbook/park/e/d;->endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void

    :cond_1
    const-string v0, "i"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    iget-object v1, p0, Lcom/xingbook/park/f/h;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/n;->f(Ljava/lang/String;)V

    iput-object v3, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    goto :goto_0

    :cond_2
    const-string v0, "b"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/h;->e:Ljava/lang/String;

    if-eqz v0, :cond_3

    const-string v0, ""

    iget-object v1, p0, Lcom/xingbook/park/f/h;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->a()Lcom/xingbook/park/b/g;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "$@sskey:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/park/f/h;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/g;->c(Ljava/lang/String;)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/f/h;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    iget-boolean v2, p0, Lcom/xingbook/park/f/h;->g:Z

    invoke-virtual {v1, v2}, Lcom/xingbook/park/b/f;->c(Z)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iput-object v3, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    goto :goto_0
.end method

.method public startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .locals 5

    const/4 v4, 0x1

    const/4 v2, -0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/park/f/h;->j:Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/xingbook/park/f/h;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    invoke-virtual {v0, v3, v1}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/h;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v0, p4}, Lcom/xingbook/park/e/c;->a(Lorg/xml/sax/Attributes;)V

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2, p3, p4}, Lcom/xingbook/park/e/d;->startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V

    return-void

    :cond_1
    const-string v0, "b"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Lcom/xingbook/park/b/f;

    invoke-direct {v0}, Lcom/xingbook/park/b/f;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    const-string v1, "p"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/f;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->a()Lcom/xingbook/park/b/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/b/g;->d()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x2

    if-lt v1, v2, :cond_0

    iget-object v1, p0, Lcom/xingbook/park/f/h;->c:Lcom/xingbook/park/b/d;

    aget-object v2, v0, v3

    invoke-static {v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/xingbook/park/b/d;->c(I)V

    iget-object v1, p0, Lcom/xingbook/park/f/h;->c:Lcom/xingbook/park/b/d;

    aget-object v0, v0, v4

    invoke-static {v0, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-virtual {v1, v0}, Lcom/xingbook/park/b/d;->a(I)V

    goto :goto_0

    :cond_2
    const-string v0, "i"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    if-eqz v0, :cond_0

    const-string v0, "t"

    invoke-interface {p4, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    if-ne v0, v2, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    invoke-virtual {v0}, Lcom/xingbook/park/b/f;->b()I

    move-result v0

    :cond_3
    invoke-static {v0, v4}, Lcom/xingbook/c/t;->a(IZ)Lcom/xingbook/b/n;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    iget-object v0, p0, Lcom/xingbook/park/f/h;->a:Lcom/xingbook/park/b/f;

    iget-object v1, p0, Lcom/xingbook/park/f/h;->b:Lcom/xingbook/b/n;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/f;->a(Lcom/xingbook/b/n;)V

    goto :goto_0
.end method
